package homework.day10;

/**
 * @author ThinkBook
 */
public class Test2DivisionByZero {
    public static void main(String[] args) {
        Test2DivisionByZero test2DivisionByZero = new Test2DivisionByZero();
        try {
            test2DivisionByZero.division();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
    public void division(){
        int a = 10 / 0;
    }
}
